﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Caliburn.Micro;
using DataEditor.DataLayer;

namespace DataEditor.ViewModels
{
    public class BaseViewModel : Screen
    {
        protected davit_gdait_db2Entities dataContext = new davit_gdait_db2Entities();

        #region Properties

        //isSelected to indicate that VM object is selected
        Boolean _isSelected;
        public Boolean IsSelected
        {
            get
            {
                return _isSelected;
            }
            set
            {

                _isSelected = value;
                NotifyOfPropertyChange(() => IsSelected);

            }
        }

        #endregion
    }
}
